<html>
	<head>
		<title>PeoplePivot</title>
		<link rel="stylesheet" type="text/css" href="css/reset.css"/>
		<link rel="stylesheet" type="text/css" href="css/styles.css"/>
		<link href='http://fonts.googleapis.com/css?family=Luckiest+Guy' rel='stylesheet' type='text/css'>
		<script src="http://code.jquery.com/jquery-1.6.2.min.js"> </script>
		<script type="text/javascript"> 
			window.onload = function () {

				$("#searchBox").keyup(function() {
					if($(this).val().length > 2) {
						$("#searchButton").removeAttr('disabled');
					}
					else {
						$("#searchButton").attr('disabled', 'true');
					}
				});
			}

			function search() {
				$("#ajaxSearch").css("display", "inline");
				$("#results").css("display", "none");

				s = $("#searchBox").val();
				jQuery.ajax({
					url: "functions/searchName.php?s="+s,
					success: function(response){
						if (response == "<table></table>") {
							$("#results").html("No Results");
						}
						else {
							$("#results").html(response);
						}
						$("#ajaxSearch").css("display", "none");
						$("#results").css("display", "inline");

					}
				});
			}
		</script>
	</head>
	<body>	
		<div id="main">
			<div id="header"><a href="index.php"><h1>People Pivot</h1></a></div>
			<div id="right">
				<h1>About PeoplePivot</h1>
				<p>We initially created PeoplePivot as an entry for the <a href="http://www.repositoryfringe.org/">Repository Fringe 2011</a> developer challenge.  The judging panel felt that the idea was an innovation and awarded us first prize in the competetion.</p>
				<p>Since then, we've greatly improved the website in terms of performance and presentation.  It uses <a href="http://raphaeljs.com/">Rapha&euml;l</a> for visualisation and <a href="https://github.com/semsol/arc2">ARC2</a> for the SPARQL backend.  The data itself is sourced from <a href="http://eprints.ecs.soton.ac.uk/">ECS EPrints</a> with co-operation from the University of Southampton <a href="http://data.southampton.ac.uk/">Open Data</a> project.</p>
				<p>PeoplePivot was created by <a href="http://www.ecs.soton.ac.uk/people/mrt">Matt R Taylor</a>, <a href="http://www.ecs.soton.ac.uk/people/pm5">Patrick McSweeney</a> and <a href="http://www.ecs.soton.ac.uk/people/ad10g08">Andrew Day</a>.</p>
			</div>
			<div id="left" style="padding:10px">
				<p>PeoplePivot is a novel way to visualise co-authorship within an academic community.  Instead of focusing purely on articles and papers, PeoplePivot puts an emphasis on the researchers themselves.</p>
				<p>By "pivoting" around an academic, you can see how closely that individual has worked with different people during their career.  We use the concept of closeness as a metric for the effectiveness of a partnership between two academics; the more papers a pair produces together relative to their total output, the closer they can be said to be working.</p>
				<p>You can start by searching for an ECS academic below.</p>
				<form id="search" action="javascript:search()">
					<input id="searchBox" type="text" size="30" name="uri" placeholder="Enter Name" />
					<input id="searchButton" type="submit" value="Search" disabled="true" />
				</form>
				<div id="ajaxSearch" style="display:none" >Searching<img src="images/ajax.gif"/></div>
				<div id="results" style="display:inline" > </div>
			</div>
			<?php include "footer.include" ?>
		</div>
	</body>
</html>
